
var showDetail;
require(['grid'], function () {
	showDetail=function(postData){
	    $('#grid').grid('setGridParam', {
			page : 1,
			datatype : "json",
			postData : postData
	    }).trigger("reloadGrid");
	};
	
    $('#grid').grid({
    	url : "/chargingDetail/getChargingDetail2.htm",
		multiselect:false,
		colModel:[
			{name: "licPltNo", label:"车牌号"},
			{name: "lineName", label:"运营线路"},
			{name: "organName", label:"所属机构"},
			{name: "rcrdTime", label:"采集时间"},
			{name: "chargeEndEltCrt", label:"充电端电流(A)", align: "right"},
			{name: "chargeEndVtg", label:"充电端电压(V)", align: "right"}]
	});
});